<?
session_start();
require "../../../global.php";//$dirname."/".
require $SystemConest[0]."/"."inc/Uifunction.php";
require "../../../inc/ActionFile.Class.php";

$myfile=new ActionFile();
$myfile->DelFile("/index.htm");
if($myfile->CreateAnyPageToPage("http://".$_SERVER['HTTP_HOST'],$SystemConest[0]."/index.htm"))
{
	alert("",1,"首页生成成功");
}
else
{
	alert("",1,"首页生成失败");
}
unset($myfile);
?>